#pragma once
#include "afxwin.h"

#include "Core/Packages.h"

// CSendMessageDlg dialog

class CSendMessageDlg : public CDialog
{
    DECLARE_DYNAMIC(CSendMessageDlg)

public:
    CSendMessageDlg(CWnd* pParent = NULL);   // standard constructor
    virtual ~CSendMessageDlg();

// Dialog Data
    enum { IDD = IDD_SendMessage };

public:
    CString m_messageBody;
    CComboBox m_comboType;

    std::string m_message;
    ExamSystem::CMessagePackage::MessageType m_type;

protected:
    CEdit m_editMessage;

    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    DECLARE_MESSAGE_MAP()
public:
    virtual BOOL OnInitDialog();
protected:
    virtual void OnOK();
public:
    virtual BOOL PreTranslateMessage(MSG* pMsg);
};
